package relay;

public class SmtpAuth extends javax.mail.Authenticator 
{   
    private String username,password;   
    
    public SmtpAuth(String username,String password)
    {   
        this.username = username;    
        this.password = password;    
    }
    
    protected javax.mail.PasswordAuthentication getPasswordAuthentication() 
    {   
        return new javax.mail.PasswordAuthentication(username,password);   
    }  
    
	
	public static void main(String[] args) 
	{
		// TODO Auto-generated method stub
	}

}
